package com.itlaobing.service;

import java.sql.SQLException;

import com.itlaobing.dao.UserDao;

public class UserService {
	public int save(String username,String password) throws ClassNotFoundException, SQLException {
		//创建一个UserDao对象，用于向下传递所要存储的数据
		UserDao auserdao = new UserDao();
		//调用save方法传递数据
		return auserdao.save(username,password);
	}
}
